﻿@model IEnumerable<Concordia.Models._Transactions.WEB_SEL_CS_MAIN_TRANSACT_HISTORYResult> 

<table class="history" border="0" cellspacing="0" cellpadding="0" >
    <tr class="title">
        <th class="date" width="117px"> Date</th>
        <th class="desc" width="427px">Description</th>
        <th class="amount last" width="128px">Amount</th>
    </tr>
    @{int cnt = 0;
    foreach (var i in Model)
        {
            if (cnt % 2 != 0)
            {
                <tr class="light">
                    <td>
                       @String.Format("{0:d}", @i.TRASACTION_DATE)
                    </td>
                    <td>
                        @i.DESCRIPTION
                    </td>
                    <td class="last">
                        @String.Format("{0:C}", @i.AMOUNT)
                    </td>
                </tr >
            }
            else
            { 
                <tr class="dark">
                    <td>
                       @String.Format("{0:d}", @i.TRASACTION_DATE)
                    </td>
                    <td>
                        @i.DESCRIPTION
                    </td>
                    <td class="last">
                        @String.Format("{0:C}", @i.AMOUNT)
                    </td>
                </tr>
            }
            cnt++;
        }
    }
</table>